﻿using MotorLibrary.DAL;
using MotorLibrary.Model;
using MotorLibrary.Repository.Converter;
using MotorLibrary.Repository.DTO;
using System.Data.Entity;

namespace MotorLibrary.Repository
{
    public class VariableRepository: GenericoRepository<Variable, VariableDTO>, IVariableRepository
    {
        public VariableRepository(IVariableConverter converter, IMotorDbContextFactory factory): base(converter, factory)
        {

        }

        public override DbSet<Variable> GetDbSet(MotorDbContext context)
        {
            return context.Variables;
        }
    }
}
